package ylyhappy.cn.ideavim.ui.myhandler;

import android.os.Message;
import android.view.View;

public class MyMessage{
    Message msg;
    private final MyHandler.MESSAGE_TYPE what;

    public MyMessage(Message msg, MyHandler.MESSAGE_TYPE messageType){
        msg.what = messageType.ordinal();
        this.msg = msg;
        this.what = messageType;
    }

    public MyHandler.MESSAGE_TYPE getMsgWhat(){
        return what;
    }
}